package com.xh.web.domain.vo;


import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName ContentVo
 * @Author tangwenyong
 * @Date 2020/10/12  15:43
 * @Version V1.0
 **/
public class ContentVo<T> {
    private static final long serialVersionUID = 1L;
    private String id;
    private String type;
    private String contentName;
    private String label;
    private String parentId;

    private List<T> children = new ArrayList<>();

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContentName() {
        return contentName;
    }

    public void setContentName(String contentName) {
        this.contentName = contentName;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<T> getChildren() {
        return children;
    }

    public void setChildren(List<T> children) {
        this.children = children;
    }
}
